#!/usr/bin/env bash
# https://github.com/cirosantilli/linux-kernel-module-cheat#bisection
set -eu
git submodule update --recursive
cd ../..
./build-qemu --arch aarch64 --qemu-build-id bisect
./run --arch aarch64 --qemu-build-id bisect --quit-after-boot
